﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master_Page/NovaMaster.master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <% 
        try
        {
            ChamadosDAO ChDao = new ChamadosDAO();
            Chamados Ch = ChDao.DetalhesChamado(Convert.ToInt32(Request.QueryString["CodChamado"].ToString()));
    %>
    <h1>Detalhes do Chamado<%=Ch.Codigo%></h1>
    <p><%=Ch.DataAbertura.ToString("dd/MM/yyyy")%></p>
    
    
    <%  }catch{ %>
        <h1>Chamado inexistente</h1>
    <%  } %>

</asp:Content>

